package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 
 */
public class Expert implements Serializable {
    private String eno;

    private String ano;

    private String ename;

    private String efansnum;

    private String euserlikes;

    private String epwd;

    private String ephone;

    private String eemail;

    private String salt;

    private Integer isdelete;

    private Date createdate;

    public Expert() { }

    private static final long serialVersionUID = 1L;

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEfansnum() {
        return efansnum;
    }

    public void setEfansnum(String efansnum) {
        this.efansnum = efansnum;
    }

    public String getEuserlikes() {
        return euserlikes;
    }

    public void setEuserlikes(String euserlikes) {
        this.euserlikes = euserlikes;
    }

    public String getEpwd() {
        return epwd;
    }

    public void setEpwd(String epwd) {
        this.epwd = epwd;
    }

    public String getEphone() {
        return ephone;
    }

    public void setEphone(String ephone) {
        this.ephone = ephone;
    }

    public String getEemail() {
        return eemail;
    }

    public void setEemail(String eemail) {
        this.eemail = eemail;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Expert other = (Expert) that;
        return (this.getEno() == null ? other.getEno() == null : this.getEno().equals(other.getEno()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getEname() == null ? other.getEname() == null : this.getEname().equals(other.getEname()))
            && (this.getEfansnum() == null ? other.getEfansnum() == null : this.getEfansnum().equals(other.getEfansnum()))
            && (this.getEuserlikes() == null ? other.getEuserlikes() == null : this.getEuserlikes().equals(other.getEuserlikes()))
            && (this.getEpwd() == null ? other.getEpwd() == null : this.getEpwd().equals(other.getEpwd()))
            && (this.getEphone() == null ? other.getEphone() == null : this.getEphone().equals(other.getEphone()))
            && (this.getEemail() == null ? other.getEemail() == null : this.getEemail().equals(other.getEemail()))
            && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
            && (this.getIsdelete() == null ? other.getIsdelete() == null : this.getIsdelete().equals(other.getIsdelete()))
            && (this.getCreatedate() == null ? other.getCreatedate() == null : this.getCreatedate().equals(other.getCreatedate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getEno() == null) ? 0 : getEno().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getEname() == null) ? 0 : getEname().hashCode());
        result = prime * result + ((getEfansnum() == null) ? 0 : getEfansnum().hashCode());
        result = prime * result + ((getEuserlikes() == null) ? 0 : getEuserlikes().hashCode());
        result = prime * result + ((getEpwd() == null) ? 0 : getEpwd().hashCode());
        result = prime * result + ((getEphone() == null) ? 0 : getEphone().hashCode());
        result = prime * result + ((getEemail() == null) ? 0 : getEemail().hashCode());
        result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
        result = prime * result + ((getIsdelete() == null) ? 0 : getIsdelete().hashCode());
        result = prime * result + ((getCreatedate() == null) ? 0 : getCreatedate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", eno=").append(eno);
        sb.append(", ano=").append(ano);
        sb.append(", ename=").append(ename);
        sb.append(", efansnum=").append(efansnum);
        sb.append(", euserlikes=").append(euserlikes);
        sb.append(", epwd=").append(epwd);
        sb.append(", ephone=").append(ephone);
        sb.append(", eemail=").append(eemail);
        sb.append(", salt=").append(salt);
        sb.append(", isdelete=").append(isdelete);
        sb.append(", createdate=").append(createdate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}